//
//  HelpViewController.m
//  BeanTrip
//
//  Created by houlei on 15/6/29.
//  Copyright (c) 2015年 PandaGroup. All rights reserved.
//

#import "HelpViewController.h"

@interface HelpViewController ()

@end

@implementation HelpViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.navigationItem.title = @"使用说明";
    UIImage *beanTripBackgroundImage=[UIImage imageNamed:@"BeanTripB.png"];
    [self.navigationController.navigationBar setBackgroundImage:beanTripBackgroundImage forBarMetrics:UIBarMetricsDefault];
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"返回" style:UIBarButtonItemStylePlain target:self action:@selector(leftAction:)];
    
    HelpView *helpV = [[HelpView alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
    [self.view addSubview:helpV];

    [helpV release];
}
- (void)leftAction:(UIBarButtonItem *)button
{
    [self dismissViewControllerAnimated:YES completion:^{
        
        
    }];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
